﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EC1 RID: 3777
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueCurrentInfo : IMessage<RogueCurrentInfo>, IMessage, IEquatable<RogueCurrentInfo>, IDeepCloneable<RogueCurrentInfo>, IBufferMessage
	{
		// Token: 0x17002FDE RID: 12254
		// (get) Token: 0x0600A932 RID: 43314 RVA: 0x001C89FA File Offset: 0x001C6BFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueCurrentInfo> Parser
		{
			get
			{
				return RogueCurrentInfo._parser;
			}
		}

		// Token: 0x17002FDF RID: 12255
		// (get) Token: 0x0600A933 RID: 43315 RVA: 0x001C8A01 File Offset: 0x001C6C01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueCurrentInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002FE0 RID: 12256
		// (get) Token: 0x0600A934 RID: 43316 RVA: 0x001C8A13 File Offset: 0x001C6C13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueCurrentInfo.Descriptor;
			}
		}

		// Token: 0x0600A935 RID: 43317 RVA: 0x001C8A1A File Offset: 0x001C6C1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCurrentInfo()
		{
		}

		// Token: 0x0600A936 RID: 43318 RVA: 0x001C8A24 File Offset: 0x001C6C24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCurrentInfo(RogueCurrentInfo other) : this()
		{
			this.moduleInfo_ = ((other.moduleInfo_ != null) ? other.moduleInfo_.Clone() : null);
			this.virtualItemInfo_ = ((other.virtualItemInfo_ != null) ? other.virtualItemInfo_.Clone() : null);
			this.rogueLineupInfo_ = ((other.rogueLineupInfo_ != null) ? other.rogueLineupInfo_.Clone() : null);
			this.pendingAction_ = ((other.pendingAction_ != null) ? other.pendingAction_.Clone() : null);
			this.isExploreWin_ = other.isExploreWin_;
			this.rogueAeonInfo_ = ((other.rogueAeonInfo_ != null) ? other.rogueAeonInfo_.Clone() : null);
			this.rogueMap_ = ((other.rogueMap_ != null) ? other.rogueMap_.Clone() : null);
			this.gameMiracleInfo_ = ((other.gameMiracleInfo_ != null) ? other.gameMiracleInfo_.Clone() : null);
			this.status_ = other.status_;
			this.rogueBuffInfo_ = ((other.rogueBuffInfo_ != null) ? other.rogueBuffInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A937 RID: 43319 RVA: 0x001C8B40 File Offset: 0x001C6D40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCurrentInfo Clone()
		{
			return new RogueCurrentInfo(this);
		}

		// Token: 0x17002FE1 RID: 12257
		// (get) Token: 0x0600A938 RID: 43320 RVA: 0x001C8B48 File Offset: 0x001C6D48
		// (set) Token: 0x0600A939 RID: 43321 RVA: 0x001C8B50 File Offset: 0x001C6D50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModuleInfo ModuleInfo
		{
			get
			{
				return this.moduleInfo_;
			}
			set
			{
				this.moduleInfo_ = value;
			}
		}

		// Token: 0x17002FE2 RID: 12258
		// (get) Token: 0x0600A93A RID: 43322 RVA: 0x001C8B59 File Offset: 0x001C6D59
		// (set) Token: 0x0600A93B RID: 43323 RVA: 0x001C8B61 File Offset: 0x001C6D61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueVirtualItem VirtualItemInfo
		{
			get
			{
				return this.virtualItemInfo_;
			}
			set
			{
				this.virtualItemInfo_ = value;
			}
		}

		// Token: 0x17002FE3 RID: 12259
		// (get) Token: 0x0600A93C RID: 43324 RVA: 0x001C8B6A File Offset: 0x001C6D6A
		// (set) Token: 0x0600A93D RID: 43325 RVA: 0x001C8B72 File Offset: 0x001C6D72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueLineupInfo RogueLineupInfo
		{
			get
			{
				return this.rogueLineupInfo_;
			}
			set
			{
				this.rogueLineupInfo_ = value;
			}
		}

		// Token: 0x17002FE4 RID: 12260
		// (get) Token: 0x0600A93E RID: 43326 RVA: 0x001C8B7B File Offset: 0x001C6D7B
		// (set) Token: 0x0600A93F RID: 43327 RVA: 0x001C8B83 File Offset: 0x001C6D83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCommonPendingAction PendingAction
		{
			get
			{
				return this.pendingAction_;
			}
			set
			{
				this.pendingAction_ = value;
			}
		}

		// Token: 0x17002FE5 RID: 12261
		// (get) Token: 0x0600A940 RID: 43328 RVA: 0x001C8B8C File Offset: 0x001C6D8C
		// (set) Token: 0x0600A941 RID: 43329 RVA: 0x001C8B94 File Offset: 0x001C6D94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsExploreWin
		{
			get
			{
				return this.isExploreWin_;
			}
			set
			{
				this.isExploreWin_ = value;
			}
		}

		// Token: 0x17002FE6 RID: 12262
		// (get) Token: 0x0600A942 RID: 43330 RVA: 0x001C8B9D File Offset: 0x001C6D9D
		// (set) Token: 0x0600A943 RID: 43331 RVA: 0x001C8BA5 File Offset: 0x001C6DA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameAeonInfo RogueAeonInfo
		{
			get
			{
				return this.rogueAeonInfo_;
			}
			set
			{
				this.rogueAeonInfo_ = value;
			}
		}

		// Token: 0x17002FE7 RID: 12263
		// (get) Token: 0x0600A944 RID: 43332 RVA: 0x001C8BAE File Offset: 0x001C6DAE
		// (set) Token: 0x0600A945 RID: 43333 RVA: 0x001C8BB6 File Offset: 0x001C6DB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMapInfo RogueMap
		{
			get
			{
				return this.rogueMap_;
			}
			set
			{
				this.rogueMap_ = value;
			}
		}

		// Token: 0x17002FE8 RID: 12264
		// (get) Token: 0x0600A946 RID: 43334 RVA: 0x001C8BBF File Offset: 0x001C6DBF
		// (set) Token: 0x0600A947 RID: 43335 RVA: 0x001C8BC7 File Offset: 0x001C6DC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameMiracleInfo GameMiracleInfo
		{
			get
			{
				return this.gameMiracleInfo_;
			}
			set
			{
				this.gameMiracleInfo_ = value;
			}
		}

		// Token: 0x17002FE9 RID: 12265
		// (get) Token: 0x0600A948 RID: 43336 RVA: 0x001C8BD0 File Offset: 0x001C6DD0
		// (set) Token: 0x0600A949 RID: 43337 RVA: 0x001C8BD8 File Offset: 0x001C6DD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueStatus Status
		{
			get
			{
				return this.status_;
			}
			set
			{
				this.status_ = value;
			}
		}

		// Token: 0x17002FEA RID: 12266
		// (get) Token: 0x0600A94A RID: 43338 RVA: 0x001C8BE1 File Offset: 0x001C6DE1
		// (set) Token: 0x0600A94B RID: 43339 RVA: 0x001C8BE9 File Offset: 0x001C6DE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffInfo RogueBuffInfo
		{
			get
			{
				return this.rogueBuffInfo_;
			}
			set
			{
				this.rogueBuffInfo_ = value;
			}
		}

		// Token: 0x0600A94C RID: 43340 RVA: 0x001C8BF2 File Offset: 0x001C6DF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueCurrentInfo);
		}

		// Token: 0x0600A94D RID: 43341 RVA: 0x001C8C00 File Offset: 0x001C6E00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueCurrentInfo other)
		{
			return other != null && (other == this || (object.Equals(this.ModuleInfo, other.ModuleInfo) && object.Equals(this.VirtualItemInfo, other.VirtualItemInfo) && object.Equals(this.RogueLineupInfo, other.RogueLineupInfo) && object.Equals(this.PendingAction, other.PendingAction) && this.IsExploreWin == other.IsExploreWin && object.Equals(this.RogueAeonInfo, other.RogueAeonInfo) && object.Equals(this.RogueMap, other.RogueMap) && object.Equals(this.GameMiracleInfo, other.GameMiracleInfo) && this.Status == other.Status && object.Equals(this.RogueBuffInfo, other.RogueBuffInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A94E RID: 43342 RVA: 0x001C8CF4 File Offset: 0x001C6EF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.moduleInfo_ != null)
			{
				num ^= this.ModuleInfo.GetHashCode();
			}
			if (this.virtualItemInfo_ != null)
			{
				num ^= this.VirtualItemInfo.GetHashCode();
			}
			if (this.rogueLineupInfo_ != null)
			{
				num ^= this.RogueLineupInfo.GetHashCode();
			}
			if (this.pendingAction_ != null)
			{
				num ^= this.PendingAction.GetHashCode();
			}
			if (this.IsExploreWin)
			{
				num ^= this.IsExploreWin.GetHashCode();
			}
			if (this.rogueAeonInfo_ != null)
			{
				num ^= this.RogueAeonInfo.GetHashCode();
			}
			if (this.rogueMap_ != null)
			{
				num ^= this.RogueMap.GetHashCode();
			}
			if (this.gameMiracleInfo_ != null)
			{
				num ^= this.GameMiracleInfo.GetHashCode();
			}
			if (this.Status != RogueStatus.None)
			{
				num ^= this.Status.GetHashCode();
			}
			if (this.rogueBuffInfo_ != null)
			{
				num ^= this.RogueBuffInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A94F RID: 43343 RVA: 0x001C8E02 File Offset: 0x001C7002
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A950 RID: 43344 RVA: 0x001C8E0A File Offset: 0x001C700A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A951 RID: 43345 RVA: 0x001C8E14 File Offset: 0x001C7014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueMap_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RogueMap);
			}
			if (this.virtualItemInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.VirtualItemInfo);
			}
			if (this.moduleInfo_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.ModuleInfo);
			}
			if (this.Status != RogueStatus.None)
			{
				output.WriteRawTag(40);
				output.WriteEnum((int)this.Status);
			}
			if (this.rogueBuffInfo_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.RogueBuffInfo);
			}
			if (this.rogueLineupInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.RogueLineupInfo);
			}
			if (this.IsExploreWin)
			{
				output.WriteRawTag(80);
				output.WriteBool(this.IsExploreWin);
			}
			if (this.rogueAeonInfo_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.RogueAeonInfo);
			}
			if (this.gameMiracleInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.GameMiracleInfo);
			}
			if (this.pendingAction_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.PendingAction);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A952 RID: 43346 RVA: 0x001C8F50 File Offset: 0x001C7150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.moduleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ModuleInfo);
			}
			if (this.virtualItemInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.VirtualItemInfo);
			}
			if (this.rogueLineupInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueLineupInfo);
			}
			if (this.pendingAction_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.PendingAction);
			}
			if (this.IsExploreWin)
			{
				num += 2;
			}
			if (this.rogueAeonInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueAeonInfo);
			}
			if (this.rogueMap_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueMap);
			}
			if (this.gameMiracleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GameMiracleInfo);
			}
			if (this.Status != RogueStatus.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Status);
			}
			if (this.rogueBuffInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueBuffInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A953 RID: 43347 RVA: 0x001C905C File Offset: 0x001C725C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueCurrentInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.moduleInfo_ != null)
			{
				if (this.moduleInfo_ == null)
				{
					this.ModuleInfo = new RogueModuleInfo();
				}
				this.ModuleInfo.MergeFrom(other.ModuleInfo);
			}
			if (other.virtualItemInfo_ != null)
			{
				if (this.virtualItemInfo_ == null)
				{
					this.VirtualItemInfo = new RogueVirtualItem();
				}
				this.VirtualItemInfo.MergeFrom(other.VirtualItemInfo);
			}
			if (other.rogueLineupInfo_ != null)
			{
				if (this.rogueLineupInfo_ == null)
				{
					this.RogueLineupInfo = new RogueLineupInfo();
				}
				this.RogueLineupInfo.MergeFrom(other.RogueLineupInfo);
			}
			if (other.pendingAction_ != null)
			{
				if (this.pendingAction_ == null)
				{
					this.PendingAction = new RogueCommonPendingAction();
				}
				this.PendingAction.MergeFrom(other.PendingAction);
			}
			if (other.IsExploreWin)
			{
				this.IsExploreWin = other.IsExploreWin;
			}
			if (other.rogueAeonInfo_ != null)
			{
				if (this.rogueAeonInfo_ == null)
				{
					this.RogueAeonInfo = new GameAeonInfo();
				}
				this.RogueAeonInfo.MergeFrom(other.RogueAeonInfo);
			}
			if (other.rogueMap_ != null)
			{
				if (this.rogueMap_ == null)
				{
					this.RogueMap = new RogueMapInfo();
				}
				this.RogueMap.MergeFrom(other.RogueMap);
			}
			if (other.gameMiracleInfo_ != null)
			{
				if (this.gameMiracleInfo_ == null)
				{
					this.GameMiracleInfo = new GameMiracleInfo();
				}
				this.GameMiracleInfo.MergeFrom(other.GameMiracleInfo);
			}
			if (other.Status != RogueStatus.None)
			{
				this.Status = other.Status;
			}
			if (other.rogueBuffInfo_ != null)
			{
				if (this.rogueBuffInfo_ == null)
				{
					this.RogueBuffInfo = new RogueBuffInfo();
				}
				this.RogueBuffInfo.MergeFrom(other.RogueBuffInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A954 RID: 43348 RVA: 0x001C920C File Offset: 0x001C740C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A955 RID: 43349 RVA: 0x001C9218 File Offset: 0x001C7418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 50U)
				{
					if (num <= 18U)
					{
						if (num == 10U)
						{
							if (this.rogueMap_ == null)
							{
								this.RogueMap = new RogueMapInfo();
							}
							input.ReadMessage(this.RogueMap);
							continue;
						}
						if (num == 18U)
						{
							if (this.virtualItemInfo_ == null)
							{
								this.VirtualItemInfo = new RogueVirtualItem();
							}
							input.ReadMessage(this.VirtualItemInfo);
							continue;
						}
					}
					else
					{
						if (num == 26U)
						{
							if (this.moduleInfo_ == null)
							{
								this.ModuleInfo = new RogueModuleInfo();
							}
							input.ReadMessage(this.ModuleInfo);
							continue;
						}
						if (num == 40U)
						{
							this.Status = (RogueStatus)input.ReadEnum();
							continue;
						}
						if (num == 50U)
						{
							if (this.rogueBuffInfo_ == null)
							{
								this.RogueBuffInfo = new RogueBuffInfo();
							}
							input.ReadMessage(this.RogueBuffInfo);
							continue;
						}
					}
				}
				else if (num <= 80U)
				{
					if (num == 74U)
					{
						if (this.rogueLineupInfo_ == null)
						{
							this.RogueLineupInfo = new RogueLineupInfo();
						}
						input.ReadMessage(this.RogueLineupInfo);
						continue;
					}
					if (num == 80U)
					{
						this.IsExploreWin = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 98U)
					{
						if (this.rogueAeonInfo_ == null)
						{
							this.RogueAeonInfo = new GameAeonInfo();
						}
						input.ReadMessage(this.RogueAeonInfo);
						continue;
					}
					if (num == 106U)
					{
						if (this.gameMiracleInfo_ == null)
						{
							this.GameMiracleInfo = new GameMiracleInfo();
						}
						input.ReadMessage(this.GameMiracleInfo);
						continue;
					}
					if (num == 114U)
					{
						if (this.pendingAction_ == null)
						{
							this.PendingAction = new RogueCommonPendingAction();
						}
						input.ReadMessage(this.PendingAction);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040044A0 RID: 17568
		private static readonly MessageParser<RogueCurrentInfo> _parser = new MessageParser<RogueCurrentInfo>(() => new RogueCurrentInfo());

		// Token: 0x040044A1 RID: 17569
		private UnknownFieldSet _unknownFields;

		// Token: 0x040044A2 RID: 17570
		public const int ModuleInfoFieldNumber = 3;

		// Token: 0x040044A3 RID: 17571
		private RogueModuleInfo moduleInfo_;

		// Token: 0x040044A4 RID: 17572
		public const int VirtualItemInfoFieldNumber = 2;

		// Token: 0x040044A5 RID: 17573
		private RogueVirtualItem virtualItemInfo_;

		// Token: 0x040044A6 RID: 17574
		public const int RogueLineupInfoFieldNumber = 9;

		// Token: 0x040044A7 RID: 17575
		private RogueLineupInfo rogueLineupInfo_;

		// Token: 0x040044A8 RID: 17576
		public const int PendingActionFieldNumber = 14;

		// Token: 0x040044A9 RID: 17577
		private RogueCommonPendingAction pendingAction_;

		// Token: 0x040044AA RID: 17578
		public const int IsExploreWinFieldNumber = 10;

		// Token: 0x040044AB RID: 17579
		private bool isExploreWin_;

		// Token: 0x040044AC RID: 17580
		public const int RogueAeonInfoFieldNumber = 12;

		// Token: 0x040044AD RID: 17581
		private GameAeonInfo rogueAeonInfo_;

		// Token: 0x040044AE RID: 17582
		public const int RogueMapFieldNumber = 1;

		// Token: 0x040044AF RID: 17583
		private RogueMapInfo rogueMap_;

		// Token: 0x040044B0 RID: 17584
		public const int GameMiracleInfoFieldNumber = 13;

		// Token: 0x040044B1 RID: 17585
		private GameMiracleInfo gameMiracleInfo_;

		// Token: 0x040044B2 RID: 17586
		public const int StatusFieldNumber = 5;

		// Token: 0x040044B3 RID: 17587
		private RogueStatus status_;

		// Token: 0x040044B4 RID: 17588
		public const int RogueBuffInfoFieldNumber = 6;

		// Token: 0x040044B5 RID: 17589
		private RogueBuffInfo rogueBuffInfo_;
	}
}
